
html {  
	height: 100%;
	margin:0;
	padding:0;
	width:100%;
	
}

body {  
	
	margin:0;
	padding:1em;
	height: 100%;
	background-color:#000;
	text-align:center;
}

#header {
	color:white;
	width:100%;
        min-width:50em;
	height:15%;
	min-height:5em;
        background-color:#FA5108;
	text-align:center;
	margin:0;
        }

#cuerpo { 
        background-color:#FAB108;
	width:100%;
	min-width:50em;
        min-height:20em;
	
	height:70%;
	margin:0;
	}

#dialogo {	
	
	display:inline-block;
	background-color:#FCE46B;
   	width:30em;
        height:15em;
	margin-top:2em;		
	border-width: 0.625em; 
	border-style: solid; 
	border-color: black;
	overflow:auto;
	}

#footer {  
	
	background-color:#FA5108;
	width:100%;
        min-width:50em;
	height:15%;
	margin:0;
	min-height:5em;
	text-align:center;
	}

#header h1 {
		color:white;
		font-family:tahoma;
	display:inline-block;
	padding:0;
	margin-top:1%;
}


#footer h3 {
		color:white;
		font-family:tahoma;
		display:inline-block;
}


#form1 div {
 	text-align:center;
	padding: 0.938em 0.938em 0.938em 1.875em;
}

#form1 label{
	font-size:1.250em;
}

#boton{
	margin-top:2em;
	padding: 0.313em 0.625em 0.313em 0.625em;
	
}

#dialogo a {
	margin-top:2em;
	padding:0;
	display:inline-block;
}

/*Mobile portrait (320x480)*/
@media only screen and (max-width: 320px){
		
html {  
	width:20em;
	}

body {
	padding:0;
	}

#header {
	min-width:10em;
	}

#cuerpo { 
     	min-width:19em;
	
        }

#dialogo {	
	width:18em;
    	}

#footer {  
	min-width:10em;
	}

}


/*Tablet portrait (768x1024)*/
@media only screen and (min-width: 321px) and (max-width: 768px){

html {  
	width:48em;
	}


#header {
	min-width:48em;
	}

#cuerpo { 
     	min-width:48em;
        }

#dialogo {	
	width:18.275em;
    	}

#footer {  
	min-width:48em;
	}
}